.class public Lcom/burstly/lib/conveniencelayer/Burstly;
.super Ljava/lang/Object;
.source "Burstly.java"


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0x9
.end annotation


# static fields
.field private static final ACTIVITY_LISTENERS:Ljava/util/Map; = null
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Landroid/app/Activity;",
            "Ljava/util/List",
            "<",
            "Lcom/burstly/lib/conveniencelayer/IActivityListener;",
            ">;>;"
        }
    .end annotation
.end field

.field private static final FRAGMENT_LISTENERS:Ljava/util/Map; = null
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Landroid/support/v4/app/Fragment;",
            "Ljava/util/List",
            "<",
            "Lcom/burstly/lib/conveniencelayer/IFragmentListener;",
            ">;>;"
        }
    .end annotation
.end field

.field public static final TAG:Ljava/lang/String; = "Burstly Convenience Layer"

.field private static final VIEW_MAP:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private static sAppID:Ljava/lang/String;

.field private static sContext:Landroid/content/Context;

.field private static sCurrencyManager:Lcom/burstly/lib/currency/CurrencyManager;

.field private static sDeviceId:Ljava/lang/String;

.field private static sIntegrationDeviceIDs:[Ljava/lang/String;

.field private static sIntegrationModeEnabled:Z

.field private static sIntegrationNetwork:Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;

.field protected static sIsInitialized:Z

.field static sLog:Lcom/burstly/lib/util/LoggerExt;

.field private static sLoggingEnabled:Z

.field private static sTestModeAlertShown:Z


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 53
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    .line 58
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    .line 65
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->VIEW_MAP:Ljava/util/Map;

    .line 70
    sput-boolean v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    .line 102
    sput-boolean v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationModeEnabled:Z

    .line 104
    sget-object v0, Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;->HOUSE:Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationNetwork:Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;

    .line 109
    sput-boolean v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sTestModeAlertShown:Z

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 44
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static addActivityListener(Landroid/app/Activity;Lcom/burstly/lib/conveniencelayer/IActivityListener;)V
    .locals 7
    .parameter "activity"
    .parameter "activityListener"

    .prologue
    .line 232
    instance-of v4, p1, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;

    if-eqz v4, :cond_1

    move-object v1, p1

    .line 233
    check-cast v1, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;

    .line 234
    .local v1, burstlyAd:Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;
    invoke-virtual {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->getName()Ljava/lang/String;

    move-result-object v3

    .line 235
    .local v3, name:Ljava/lang/String;
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->getAppId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, ":"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->getZoneId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 237
    .local v0, appZone:Ljava/lang/String;
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->VIEW_MAP:Ljava/util/Map;

    invoke-interface {v4, v3}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 238
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->VIEW_MAP:Ljava/util/Map;

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_1

    .line 239
    new-instance v4, Ljava/lang/RuntimeException;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "Attempting to reuse the view Id "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, " with a different app/zone combination.  Use a new view Id for each pub and zone"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v4

    .line 243
    :cond_0
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->VIEW_MAP:Ljava/util/Map;

    invoke-interface {v4, v3, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 247
    .end local v0           #appZone:Ljava/lang/String;
    .end local v1           #burstlyAd:Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;
    .end local v3           #name:Ljava/lang/String;
    :cond_1
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v4, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 248
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v4, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/List;

    invoke-interface {v4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 255
    :goto_0
    return-void

    .line 250
    :cond_2
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 251
    .local v2, listeners:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    invoke-virtual {v2, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 253
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v4, p0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0
.end method

.method public static addFragmentListener(Landroid/support/v4/app/Fragment;Lcom/burstly/lib/conveniencelayer/IFragmentListener;)V
    .locals 7
    .parameter "fragment"
    .parameter "fragmentListener"

    .prologue
    .line 335
    instance-of v4, p1, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;

    if-eqz v4, :cond_1

    move-object v1, p1

    .line 336
    check-cast v1, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;

    .line 337
    .local v1, burstlyAd:Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;
    invoke-virtual {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->getName()Ljava/lang/String;

    move-result-object v3

    .line 338
    .local v3, name:Ljava/lang/String;
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->getAppId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, ":"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v1}, Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;->getZoneId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 340
    .local v0, appZone:Ljava/lang/String;
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->VIEW_MAP:Ljava/util/Map;

    invoke-interface {v4, v3}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 341
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->VIEW_MAP:Ljava/util/Map;

    invoke-interface {v4, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_1

    .line 342
    new-instance v4, Ljava/lang/RuntimeException;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "Attempting to reuse the view Id "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, " with a different app/zone combination.  Use a new view Id for each pub and zone"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v4

    .line 346
    :cond_0
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->VIEW_MAP:Ljava/util/Map;

    invoke-interface {v4, v3, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 350
    .end local v0           #appZone:Ljava/lang/String;
    .end local v1           #burstlyAd:Lcom/burstly/lib/conveniencelayer/BurstlyBaseAd;
    .end local v3           #name:Ljava/lang/String;
    :cond_1
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v4, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    .line 351
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v4, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/util/List;

    invoke-interface {v4, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 358
    :goto_0
    return-void

    .line 353
    :cond_2
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 354
    .local v2, listeners:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Lcom/burstly/lib/conveniencelayer/IFragmentListener;>;"
    invoke-virtual {v2, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 356
    sget-object v4, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v4, p0, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0
.end method

.method public static deinit()V
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 149
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v0, :cond_0

    .line 150
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sLog:Lcom/burstly/lib/util/LoggerExt;

    const-string v1, "Burstly Convenience Layer"

    const-string v2, "Burstly already deinitialized or never\'s been initialized before."

    new-array v3, v4, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 161
    :goto_0
    return-void

    .line 155
    :cond_0
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->size()I

    move-result v0

    if-eqz v0, :cond_1

    .line 156
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sLog:Lcom/burstly/lib/util/LoggerExt;

    const-string v1, "Burstly Convenience Layer"

    const-string v2, "Deinitializing Burstly conveniencelayer system before everything is destroyed"

    new-array v3, v4, [Ljava/lang/Object;

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logError(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 159
    :cond_1
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sContext:Landroid/content/Context;

    invoke-static {v0}, Lcom/burstly/lib/BurstlySdk;->shutdown(Landroid/content/Context;)V

    .line 160
    sput-boolean v4, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    goto :goto_0
.end method

.method public static enableIntegrationMode([Ljava/lang/String;)V
    .locals 2
    .parameter "integrationDeviceIDs"

    .prologue
    .line 436
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v0, :cond_0

    .line 437
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Burstly.init never called or Burstly.deinit already called."

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 440
    :cond_0
    if-eqz p0, :cond_1

    .line 441
    sput-object p0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationDeviceIDs:[Ljava/lang/String;

    .line 444
    :cond_1
    const/4 v0, 0x1

    sput-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationModeEnabled:Z

    .line 445
    return-void
.end method

.method static getAppID()Ljava/lang/String;
    .locals 2

    .prologue
    .line 415
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v0, :cond_0

    .line 416
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Burstly.init never called or Burstly.deinit already called."

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 419
    :cond_0
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sAppID:Ljava/lang/String;

    return-object v0
.end method

.method public static getCurrencyManager()Lcom/burstly/lib/currency/CurrencyManager;
    .locals 2

    .prologue
    .line 428
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v0, :cond_0

    .line 429
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Burstly.init never called or Burstly.deinit already called."

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 432
    :cond_0
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sCurrencyManager:Lcom/burstly/lib/currency/CurrencyManager;

    return-object v0
.end method

.method public static getIntegrationNetwork()Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;
    .locals 2

    .prologue
    .line 456
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v0, :cond_0

    .line 457
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Burstly.init never called or Burstly.deinit already called."

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 460
    :cond_0
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationNetwork:Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;

    return-object v0
.end method

.method public static declared-synchronized init(Landroid/content/Context;Ljava/lang/String;)V
    .locals 5
    .parameter "context"
    .parameter "appID"

    .prologue
    .line 129
    const-class v1, Lcom/burstly/lib/conveniencelayer/Burstly;

    monitor-enter v1

    :try_start_0
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v0, :cond_0

    .line 130
    const/4 v0, 0x1

    sput-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    .line 131
    sput-object p1, Lcom/burstly/lib/conveniencelayer/Burstly;->sAppID:Ljava/lang/String;

    .line 132
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sContext:Landroid/content/Context;

    .line 133
    invoke-static {p0}, Lcom/burstly/lib/conveniencelayer/Burstly;->initBurstly(Landroid/content/Context;)V

    .line 134
    const/4 v0, 0x0

    sput-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationModeEnabled:Z

    .line 135
    const/4 v0, 0x0

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationDeviceIDs:[Ljava/lang/String;

    .line 136
    sget-object v0, Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;->HOUSE:Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationNetwork:Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;

    .line 137
    invoke-static {p0}, Lcom/burstly/lib/util/Utils;->getRawDeviceId(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sDeviceId:Ljava/lang/String;

    .line 138
    new-instance v0, Lcom/burstly/lib/currency/CurrencyManager;

    invoke-direct {v0}, Lcom/burstly/lib/currency/CurrencyManager;-><init>()V

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sCurrencyManager:Lcom/burstly/lib/currency/CurrencyManager;

    .line 139
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sCurrencyManager:Lcom/burstly/lib/currency/CurrencyManager;

    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->sContext:Landroid/content/Context;

    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->sAppID:Ljava/lang/String;

    invoke-virtual {v0, v2, v3}, Lcom/burstly/lib/currency/CurrencyManager;->initManager(Landroid/content/Context;Ljava/lang/String;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 143
    :goto_0
    monitor-exit v1

    return-void

    .line 141
    :cond_0
    :try_start_1
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sLog:Lcom/burstly/lib/util/LoggerExt;

    const-string v2, "Burstly Convenience Layer"

    const-string v3, "Burstly already initialized"

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v0, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    .line 129
    :catchall_0
    move-exception v0

    monitor-exit v1

    throw v0
.end method

.method protected static initBurstly(Landroid/content/Context;)V
    .locals 1
    .parameter "context"

    .prologue
    .line 171
    invoke-static {p0}, Lcom/burstly/lib/BurstlySdk;->init(Landroid/content/Context;)V

    .line 172
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sLog:Lcom/burstly/lib/util/LoggerExt;

    if-nez v0, :cond_0

    .line 173
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sLog:Lcom/burstly/lib/util/LoggerExt;

    .line 175
    :cond_0
    const/4 v0, 0x1

    invoke-static {v0}, Lcom/burstly/lib/conveniencelayer/Burstly;->setLoggingEnabled(Z)V

    .line 177
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->clear()V

    .line 178
    return-void
.end method

.method public static isIntegrationModeEnabledForThisDevice()Z
    .locals 3

    .prologue
    const/4 v0, 0x0

    .line 494
    sget-boolean v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v1, :cond_0

    .line 495
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Burstly.init never called or Burstly.deinit already called."

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 497
    :cond_0
    sget-boolean v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationModeEnabled:Z

    if-eqz v1, :cond_2

    .line 498
    sget-object v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationDeviceIDs:[Ljava/lang/String;

    if-eqz v1, :cond_1

    sget-object v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sDeviceId:Ljava/lang/String;

    if-eqz v1, :cond_2

    sget-object v1, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationDeviceIDs:[Ljava/lang/String;

    invoke-static {v1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->sDeviceId:Ljava/lang/String;

    invoke-interface {v1, v2}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    :cond_1
    const/4 v0, 0x1

    .line 501
    :cond_2
    return v0
.end method

.method public static isLoggingEnabled()Z
    .locals 1

    .prologue
    .line 406
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sLoggingEnabled:Z

    return v0
.end method

.method public static onDestroyActivity(Landroid/app/Activity;)V
    .locals 3
    .parameter "activity"

    .prologue
    .line 214
    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v2, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 215
    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v2, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    .line 216
    .local v1, listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v0, v2, -0x1

    .local v0, i:I
    :goto_0
    if-ltz v0, :cond_0

    .line 217
    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/burstly/lib/conveniencelayer/IActivityListener;

    invoke-interface {v2, p0}, Lcom/burstly/lib/conveniencelayer/IActivityListener;->activityDestroyed(Landroid/app/Activity;)V

    .line 218
    invoke-interface {v1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 216
    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    .line 220
    :cond_0
    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v2, p0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 222
    .end local v0           #i:I
    .end local v1           #listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    :cond_1
    return-void
.end method

.method public static onDestroyFragment(Landroid/support/v4/app/Fragment;)V
    .locals 3
    .parameter "fragment"

    .prologue
    .line 317
    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v2, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 318
    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v2, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    .line 319
    .local v1, listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IFragmentListener;>;"
    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v0, v2, -0x1

    .local v0, i:I
    :goto_0
    if-ltz v0, :cond_0

    .line 320
    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/burstly/lib/conveniencelayer/IFragmentListener;

    invoke-interface {v2, p0}, Lcom/burstly/lib/conveniencelayer/IFragmentListener;->fragmentDestroyed(Landroid/support/v4/app/Fragment;)V

    .line 321
    invoke-interface {v1, v0}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 319
    add-int/lit8 v0, v0, -0x1

    goto :goto_0

    .line 323
    :cond_0
    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v2, p0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 325
    .end local v0           #i:I
    .end local v1           #listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IFragmentListener;>;"
    :cond_1
    return-void
.end method

.method public static onPauseActivity(Landroid/app/Activity;)V
    .locals 4
    .parameter "activity"

    .prologue
    .line 186
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 187
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/List;

    .line 188
    .local v2, listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    .local v0, i$:Ljava/util/Iterator;
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/burstly/lib/conveniencelayer/IActivityListener;

    .line 189
    .local v1, listener:Lcom/burstly/lib/conveniencelayer/IActivityListener;
    invoke-interface {v1, p0}, Lcom/burstly/lib/conveniencelayer/IActivityListener;->activityPaused(Landroid/app/Activity;)V

    goto :goto_0

    .line 192
    .end local v0           #i$:Ljava/util/Iterator;
    .end local v1           #listener:Lcom/burstly/lib/conveniencelayer/IActivityListener;
    .end local v2           #listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    :cond_0
    return-void
.end method

.method public static onPauseFragment(Landroid/support/v4/app/Fragment;)V
    .locals 4
    .parameter "fragment"

    .prologue
    .line 289
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 290
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/List;

    .line 291
    .local v2, listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IFragmentListener;>;"
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    .local v0, i$:Ljava/util/Iterator;
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/burstly/lib/conveniencelayer/IFragmentListener;

    .line 292
    .local v1, listener:Lcom/burstly/lib/conveniencelayer/IFragmentListener;
    invoke-interface {v1, p0}, Lcom/burstly/lib/conveniencelayer/IFragmentListener;->fragmentPaused(Landroid/support/v4/app/Fragment;)V

    goto :goto_0

    .line 295
    .end local v0           #i$:Ljava/util/Iterator;
    .end local v1           #listener:Lcom/burstly/lib/conveniencelayer/IFragmentListener;
    .end local v2           #listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IFragmentListener;>;"
    :cond_0
    return-void
.end method

.method public static onResumeActivity(Landroid/app/Activity;)V
    .locals 4
    .parameter "activity"

    .prologue
    .line 200
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 201
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/List;

    .line 202
    .local v2, listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    .local v0, i$:Ljava/util/Iterator;
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/burstly/lib/conveniencelayer/IActivityListener;

    .line 203
    .local v1, listener:Lcom/burstly/lib/conveniencelayer/IActivityListener;
    invoke-interface {v1, p0}, Lcom/burstly/lib/conveniencelayer/IActivityListener;->activityResumed(Landroid/app/Activity;)V

    goto :goto_0

    .line 206
    .end local v0           #i$:Ljava/util/Iterator;
    .end local v1           #listener:Lcom/burstly/lib/conveniencelayer/IActivityListener;
    .end local v2           #listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    :cond_0
    return-void
.end method

.method public static onResumeFragment(Landroid/support/v4/app/Fragment;)V
    .locals 4
    .parameter "fragment"

    .prologue
    .line 303
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 304
    sget-object v3, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v3, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/List;

    .line 305
    .local v2, listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IFragmentListener;>;"
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    .local v0, i$:Ljava/util/Iterator;
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/burstly/lib/conveniencelayer/IFragmentListener;

    .line 306
    .local v1, listener:Lcom/burstly/lib/conveniencelayer/IFragmentListener;
    invoke-interface {v1, p0}, Lcom/burstly/lib/conveniencelayer/IFragmentListener;->fragmentResumed(Landroid/support/v4/app/Fragment;)V

    goto :goto_0

    .line 309
    .end local v0           #i$:Ljava/util/Iterator;
    .end local v1           #listener:Lcom/burstly/lib/conveniencelayer/IFragmentListener;
    .end local v2           #listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IFragmentListener;>;"
    :cond_0
    return-void
.end method

.method public static removeActivityListener(Landroid/app/Activity;Lcom/burstly/lib/conveniencelayer/IActivityListener;)V
    .locals 1
    .parameter "activity"
    .parameter "activityListener"

    .prologue
    .line 266
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v0, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 267
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v0, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 269
    :cond_0
    return-void
.end method

.method public static removeActivityListener(Lcom/burstly/lib/conveniencelayer/IActivityListener;)V
    .locals 3
    .parameter "activityListener"

    .prologue
    .line 278
    sget-object v2, Lcom/burstly/lib/conveniencelayer/Burstly;->ACTIVITY_LISTENERS:Ljava/util/Map;

    invoke-interface {v2}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v0

    .local v0, i$:Ljava/util/Iterator;
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    .line 279
    .local v1, listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    invoke-interface {v1, p0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    goto :goto_0

    .line 281
    .end local v1           #listeners:Ljava/util/List;,"Ljava/util/List<Lcom/burstly/lib/conveniencelayer/IActivityListener;>;"
    :cond_0
    return-void
.end method

.method public static removeFragmentListener(Landroid/support/v4/app/Fragment;Lcom/burstly/lib/conveniencelayer/IFragmentListener;)V
    .locals 1
    .parameter "fragment"
    .parameter "fragmentListener"

    .prologue
    .line 369
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v0, p0}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 370
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v0, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 372
    :cond_0
    return-void
.end method

.method public static removeFragmentListener(Lcom/burstly/lib/conveniencelayer/IFragmentListener;)V
    .locals 1
    .parameter "fragmentListener"

    .prologue
    .line 381
    if-eqz p0, :cond_0

    .line 382
    sget-object v0, Lcom/burstly/lib/conveniencelayer/Burstly;->FRAGMENT_LISTENERS:Ljava/util/Map;

    invoke-interface {v0, p0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 384
    :cond_0
    return-void
.end method

.method public static setIntegrationNetwork(Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;)V
    .locals 2
    .parameter "network"

    .prologue
    .line 448
    sget-boolean v0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIsInitialized:Z

    if-nez v0, :cond_0

    .line 449
    new-instance v0, Ljava/lang/RuntimeException;

    const-string v1, "Burstly.init never called or Burstly.deinit already called."

    invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 452
    :cond_0
    sput-object p0, Lcom/burstly/lib/conveniencelayer/Burstly;->sIntegrationNetwork:Lcom/burstly/lib/conveniencelayer/BurstlyIntegrationModeAdNetworks;

    .line 453
    return-void
.end method

.method public static setLoggingEnabled(Z)V
    .locals 1
    .parameter "enabled"

    .prologue
    .line 392
    if-eqz p0, :cond_0

    .line 393
    const/4 v0, 0x3

    invoke-static {v0}, Lcom/burstly/lib/util/LoggerExt;->setLogLevel(I)V

    .line 397
    :goto_0
    sput-boolean p0, Lcom/burstly/lib/conveniencelayer/Burstly;->sLoggingEnabled:Z

    .line 398
    return-void

    .line 395
    :cond_0
    const/4 v0, 0x7

    invoke-static {v0}, Lcom/burstly/lib/util/LoggerExt;->setLogLevel(I)V

    goto :goto_0
.end method

.method static declared-synchronized showTestModeAlert(Landroid/content/Context;)V
    .locals 6
    .parameter "context"

    .prologue
    const/4 v4, 0x1

    .line 469
    const-class v3, Lcom/burstly/lib/conveniencelayer/Burstly;

    monitor-enter v3

    :try_start_0
    sget-boolean v2, Lcom/burstly/lib/conveniencelayer/Burstly;->sTestModeAlertShown:Z

    if-eq v2, v4, :cond_0

    .line 470
    new-instance v1, Landroid/app/AlertDialog$Builder;

    invoke-direct {v1, p0}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 473
    .local v1, alertDialogBuilder:Landroid/app/AlertDialog$Builder;
    const-string v2, "Burstly Integration Mode"

    invoke-virtual {v1, v2}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    const-string v4, "You will only see sample ads from specified networks on this device. Disable Integration Mode to see live ads."

    invoke-virtual {v2, v4}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    const/4 v4, 0x0

    invoke-virtual {v2, v4}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;

    move-result-object v2

    const-string v4, "OK"

    new-instance v5, Lcom/burstly/lib/conveniencelayer/Burstly$1;

    invoke-direct {v5}, Lcom/burstly/lib/conveniencelayer/Burstly$1;-><init>()V

    invoke-virtual {v2, v4, v5}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    .line 485
    invoke-virtual {v1}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v0

    .line 488
    .local v0, alertDialog:Landroid/app/AlertDialog;
    invoke-virtual {v0}, Landroid/app/AlertDialog;->show()V

    .line 489
    const/4 v2, 0x1

    sput-boolean v2, Lcom/burstly/lib/conveniencelayer/Burstly;->sTestModeAlertShown:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 491
    .end local v0           #alertDialog:Landroid/app/AlertDialog;
    .end local v1           #alertDialogBuilder:Landroid/app/AlertDialog$Builder;
    :cond_0
    monitor-exit v3

    return-void

    .line 469
    :catchall_0
    move-exception v2

    monitor-exit v3

    throw v2
.end method
